<template>
  <div class="commonBox">公共组件 ---- {{ str }}</div>
</template>

<script>
export default {
  name: 'Common',
  data() {
    return {
      str: '这里是一个公共的组件',
    }
  },
}
</script>

<style lang="scss" scoped>
.commonBox {
  height: 50px;
  background-color: skyblue;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 50px;
}
</style>
